package cn.bocweb.spinning.view.activity;

import cn.bocweb.spinning.model.Bean.MyClassNewBean;

/**
 * Created by chenchangxing on 16/8/17.
 */
public class BestBean {

    /**
     * id : 293745
     * score : 35
     * spend_time : 59
     * libtype : all
     * testid : A726374996890376
     * subtitle : 才疏学浅
     */

    private String id;
    private String title;
    private String score;
    private String spend_time;
    private String libtype;
    private String testid;
    private String subtitle;

    public BestBean copyBest(MyClassNewBean.RecordBean.BestBean bestBean) {
        if (bestBean != null) {
            setId(bestBean.getId());
            setScore(bestBean.getScore());
            setSpend_time(bestBean.getSpend_time());
            setLibtype(bestBean.getLibtype());
            setTestid(bestBean.getTestid());
            setSubtitle(bestBean.getSubtitle());
        }
        return this;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public BestBean setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSpend_time() {
        return spend_time;
    }

    public void setSpend_time(String spend_time) {
        this.spend_time = spend_time;
    }

    public String getLibtype() {
        return libtype;
    }

    public void setLibtype(String libtype) {
        this.libtype = libtype;
    }

    public String getTestid() {
        return testid;
    }

    public void setTestid(String testid) {
        this.testid = testid;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }
}
